package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批量处理日志对象 st_batch_log
 * 
 * @author shihx
 * @date 2020-03-11
 */
@ApiModel(value="BatchLog",description="批量处理日志对象实体") // 用来描述封装的参数对象与返回的参数对象
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BatchLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(value = "主键ID",name="id",required = true,dataType="Long",example="主键ID")
    private Long id;

    /** 服务通知号 */
    @Excel(name = "服务通知号")
    @ApiModelProperty(value = "服务通知号",name="serviceNo",required = true,dataType="String",example="服务通知号")
    private String serviceNo;

    /** 工程师ID */
    @Excel(name = "工程师ID")
    @ApiModelProperty(value = "工程师ID",name="enginnerId",required = true,dataType="Long",example="工程师ID")
    private Long enginnerId;

    /** 子表主键(st_plan_details表主键) */
    @Excel(name = "子表主键(st_plan_details表主键)")
    @ApiModelProperty(value = "子表主键(st_plan_details表主键)",name="planId",required = true,dataType="Long",example="子表主键(st_plan_details表主键)")
    private Long planId;

    /** 关联的服务通知号 */
    @Excel(name = "关联的服务通知号")
    @ApiModelProperty(value = "关联的服务通知号",name="relServiceNo",required = true,dataType="String",example="关联的服务通知号")
    private String relServiceNo;

    /** 关联的子表主键(st_plan_details表主键) */
    @Excel(name = "关联的子表主键(st_plan_details表主键)")
    @ApiModelProperty(value = "关联的子表主键(st_plan_details表主键)",name="relPlanId",required = true,dataType="Long",example="关联的子表主键(st_plan_details表主键)")
    private Long relPlanId;

    /** 处理类型(1=签到,2=签离,3=日志,4=预计上门时间) */
    @Excel(name = "处理类型(1=签到,2=签离,3=日志,4=预计上门时间)")
    @ApiModelProperty(value = "处理类型(1=签到,2=签离,3=日志,4=预计上门时间)",name="batchType",required = true,dataType="Long",example="处理类型(1=签到,2=签离,3=日志,4=预计上门时间)")
    private Long batchType;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）",name="delFlag",required = true,dataType="String",example="删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }
    public void setEnginnerId(Long enginnerId) 
    {
        this.enginnerId = enginnerId;
    }

    public Long getEnginnerId() 
    {
        return enginnerId;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setRelServiceNo(String relServiceNo) 
    {
        this.relServiceNo = relServiceNo;
    }

    public String getRelServiceNo() 
    {
        return relServiceNo;
    }
    public void setRelPlanId(Long relPlanId) 
    {
        this.relPlanId = relPlanId;
    }

    public Long getRelPlanId() 
    {
        return relPlanId;
    }
    public void setBatchType(Long batchType) 
    {
        this.batchType = batchType;
    }

    public Long getBatchType() 
    {
        return batchType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceNo", getServiceNo())
            .append("enginnerId", getEnginnerId())
            .append("planId", getPlanId())
            .append("relServiceNo", getRelServiceNo())
            .append("relPlanId", getRelPlanId())
            .append("batchType", getBatchType())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
